#pragma once

#include <vector>

template<typename T> class TContainer : public std::vector<T>
{
public:
	void add(T value) { 
			this->push_back(value); 	
	}

	void remove(T value) { 
		T ptr;
		std::vector<T>::iterator iter;

		for(iter = this->begin();iter!=this->end();iter++) {
			if(value == *iter) {
				this->erase(iter);
				return;
			}
		}
	}
};
